package com.mvu.banana.internal.client;

import com.google.gwt.user.client.Window;
import com.mvu.banana.common.client.Page;
import com.mvu.banana.common.client.PermissionDTO;

/**
 * Created by mvu at 5/28/11 1:42 AM
 * To change this template use File | Settings | File Templates.
 */
public class Admin extends Page {
  public void init() {
    Window.setTitle("Internal Tools");
    initWidget(new RunBox());
  }

  @Override
  public boolean canVisit(PermissionDTO dto) {
    return dto.authKeyAccepted;
  }
}
